[INFO] cloning repository https://github.com/chrisbutcher/huffman-coding-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisbutcher/huffman-coding-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 499395f28055deed479795f132a93eb0627b039f
[INFO] checking chrisbutcher/huffman-coding-rust against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisbutcher%2Fhuffman-coding-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chrisbutcher/huffman-coding-rust on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust
[INFO] finished tweaking git repo https://github.com/chrisbutcher/huffman-coding-rust
[INFO] tweaked toml for git repo https://github.com/chrisbutcher/huffman-coding-rust written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/chrisbutcher/huffman-coding-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getopts v0.2.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7b02c1c79bed663e4a92ad40ebc21f7f2ee4864f89ac61142d0b0a7598e8ff72
[INFO] running `Command { std: "docker" "start" "-a" "7b02c1c79bed663e4a92ad40ebc21f7f2ee4864f89ac61142d0b0a7598e8ff72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b02c1c79bed663e4a92ad40ebc21f7f2ee4864f89ac61142d0b0a7598e8ff72", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b02c1c79bed663e4a92ad40ebc21f7f2ee4864f89ac61142d0b0a7598e8ff72", kill_on_drop: false }`
[INFO] [stdout] 7b02c1c79bed663e4a92ad40ebc21f7f2ee4864f89ac61142d0b0a7598e8ff72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a48dd1332be83bff60acd799c6854832d2b545f6981ace795855ab241653bf6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1a48dd1332be83bff60acd799c6854832d2b545f6981ace795855ab241653bf6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking crossbeam-utils v0.7.2
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking crossbeam v0.7.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking huffman_coding v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/codebook.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move || {
[INFO] [stdout]    |                          ^^^^^ ------- takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move |_| {
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/codebook.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |   util::hash_map_reducer(results)
[INFO] [stdout]     |                          ^^^^^^^ expected struct `HashMap`, found enum `std::result::Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<HashMap<char, usize>>`
[INFO] [stdout]                found struct `Vec<std::result::Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/compress.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(move|| {
[INFO] [stdout]    |                          ^^^^^ ------ takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(|_| {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/codebook.rs:92:26
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move || {
[INFO] [stdout]    |                          ^^^^^ ------- takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 92 |       threads.push(scope.spawn(move |_| {
[INFO] [stdout]    |                                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/compress.rs:51:3
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn parallel_compress(substrings: &Vec<&str>, codebook: &codebook::Codebook) -> Vec<CompressionResult> {
[INFO] [stdout]    |                                                                                    ---------------------- expected `Vec<CompressionResult>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 51 |   results
[INFO] [stdout]    |   ^^^^^^^ expected struct `CompressionResult`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<CompressionResult>`
[INFO] [stdout]               found struct `Vec<std::result::Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0593.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `huffman_coding`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/codebook.rs:105:26
[INFO] [stdout]     |
[INFO] [stdout] 105 |   util::hash_map_reducer(results)
[INFO] [stdout]     |                          ^^^^^^^ expected struct `HashMap`, found enum `std::result::Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<HashMap<char, usize>>`
[INFO] [stdout]                found struct `Vec<std::result::Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0593]: closure is expected to take 1 argument, but it takes 0 arguments
[INFO] [stdout]   --> src/compress.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(move|| {
[INFO] [stdout]    |                          ^^^^^ ------ takes 0 arguments
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          expected closure that takes 1 argument
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing the closure to take and ignore the expected argument
[INFO] [stdout]    |
[INFO] [stdout] 38 |       threads.push(scope.spawn(|_| {
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/compress.rs:51:3
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn parallel_compress(substrings: &Vec<&str>, codebook: &codebook::Codebook) -> Vec<CompressionResult> {
[INFO] [stdout]    |                                                                                    ---------------------- expected `Vec<CompressionResult>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 51 |   results
[INFO] [stdout]    |   ^^^^^^^ expected struct `CompressionResult`, found enum `std::result::Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<CompressionResult>`
[INFO] [stdout]               found struct `Vec<std::result::Result<_, Box<dyn Any + Send>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0593.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1a48dd1332be83bff60acd799c6854832d2b545f6981ace795855ab241653bf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a48dd1332be83bff60acd799c6854832d2b545f6981ace795855ab241653bf6", kill_on_drop: false }`
[INFO] [stdout] 1a48dd1332be83bff60acd799c6854832d2b545f6981ace795855ab241653bf6
